package com.springcloud.xxkfz.convert;

import com.springcloud.xxkfz.entity.Account;
import com.springcloud.xxkfz.vo.AccountVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface AccountConvert {
    AccountConvert INSTANCE = Mappers.getMapper(AccountConvert.class);
    List<AccountVO> domain2vo(List<Account> accountList);
    AccountVO toVO(Account account);
}
